import datetime

def date2time(date, time):
    return datetime.datetime(int(date.strftime("%Y")), int(date.strftime("%m")), int(date.strftime("%d")), int(time.strftime("%H")), int(time.strftime("%M")), int(time.strftime("%S")))


print(type(date2time(datetime.datetime.now().date(), datetime.datetime.now().time())))